Addons.Firebug = new Class({
    FIREBUGOPTIONS: {
		saveCookies: false,
		startOpened: false,
		startInNewWindow: false,
		showIconWhenHidden: true,
		overrideConsole: true,
		ignoreFirebugElements: true,
		disableXHRListener: false,
		disableWhenFirebugActive: true,
		enableTrace: false,
		enablePersistent: false
	},
	
	construct: function(){
		
		var options = [];
		
		for(var key in this.FIREBUGOPTIONS)
			if(this.FIREBUGOPTIONS[key]) options.push(key);
		
		
		//Require firebug
		Sarue.Require(('https:'   == document.location.protocol ? 'https://'   : 'http://') + 'getfirebug.com/firebug-lite.js#' + options.join(','), false, false, true);
	}
});
